#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018/11/6 18:25
# @Author  : Triste_hui

# 数据库相关配置
DB_CONFIG = {
    'host': '192.168.200.100',
    'user': 'root',
    'passwd': 'root',
    'port': 3306,
    'db': 'game',
}

# 卡牌配置
CARD_CONFIG = [
    {
        "draw": 0,  # 是否可抽 0不能抽到1能抽到
        "name": "初始卡",  # 新手卡，无法被抽到
        "quality": 1,    # 品质，1白2绿3蓝4紫5橙6神话
        "base_atk": 5,
        "base_def": 5,
    },
    {
        "draw": 1,
        "name": "陆仁贾",
        "quality": 1,
        "base_atk": 1,
        "base_def": 1,
    },
    {
        "draw": 1,
        "name": "陆仁义",
        "quality": 1,
        "base_atk": 1,
        "base_def": 1,
    },
    {
        "draw": 1,
        "name": "陆仁兵",
        "quality": 1,
        "base_atk": 1,
        "base_def": 1,
    },
    {
        "draw": 1,
        "name": "陆仁鼎",
        "quality": 1,
        "base_atk": 1,
        "base_def": 1,
    },
    {
        "draw": 1,
        "name": "地痞",
        "quality": 2,
        "base_atk": 5,
        "base_def": 3,
    },
    {
        "draw": 1,
        "name": "流氓",
        "quality": 2,
        "base_atk": 3,
        "base_def": 5,
    },
    {
        "draw": 1,
        "name": "剑客",
        "quality": 3,
        "base_atk": 20,
        "base_def": 14,
    },
    {
        "draw": 1,
        "name": "大师",
        "quality": 4,
        "base_atk": 50,
        "base_def": 33,
    },
    {
        "draw": 1,
        "name": "大神",
        "quality": 5,
        "base_atk": 110,
        "base_def": 88,
    },
    {
        "draw": 1,
        "name": "外挂",
        "quality": 6,
        "base_atk": 999,
        "base_def": 999,
    },
]